package com.lemon.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lemon.domain.WarehousingEntryDetails;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface WarehousingEntryDetailsMapper extends BaseMapper<WarehousingEntryDetails> {
    @Select("select * from warehousing_entry_details where status = #{status} or status = #{status-1}")
    List<WarehousingEntryDetails> getUpList(Integer status);
}